home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Internet Strate…Tools for the Enterprise
/
Microsoft Internet Strategy & Tools for the Enterprise.iso
/
content
/
devel.tls
/
icp
/
vbsamp
/
ftpexpl.exe
/
UNCREMOV.FRM
< prev
next >
Wrap
Text File
|
1995-09-21
|
3KB
|
79 lines
VERSION 4.00
Begin VB.Form UNCRemove
BorderStyle = 3 'Fixed Dialog
Caption = "Disconnect Network Path"
ClientHeight = 2055
ClientLeft = 4200
ClientTop = 1455
ClientWidth = 5760
Height = 2460
Left = 4140
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2055
ScaleWidth = 5760
ShowInTaskbar = 0 'False
Top = 1110
Width = 5880
Begin VB.ListBox lbConnections
Height = 1395
ItemData = "UNCRemov.frx":0000
Left = 180
List = "UNCRemov.frx":0002
MultiSelect = 2 'Extended
TabIndex = 2
Top = 480
Width = 4095
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "Cancel"
Height = 345
Left = 4470
TabIndex = 3
Top = 600
Width = 1125
End
Begin VB.CommandButton cmdOK
Caption = "OK"
Height = 345
Left = 4470
TabIndex = 0
Top = 150
Width = 1125
End
Begin VB.Label lbList
AutoSize = -1 'True
Caption = "&Path:"
Height = 195
Left = 210
TabIndex = 1
Top = 150
Width = 375
End
End
Attribute VB_Name = "UNCRemove"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Option Explicit
Dim ServerID(100) As String
Private Sub cmdCancel_Click()
lbConnections.Clear ' Clear Listbox Entries...
Me.Hide ' Hide Form But Keep It Active
End Sub
Private Sub cmdOK_Click()
Me.Hide ' Hide Form But Keep It Active
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If (UnloadMode = vbFormControlMenu) Then ' Was Form Closed With ControlMenu?
Cancel = True ' Cancel Request
Call cmdCancel_Click ' Simulate Cancel Button Click
End If
End Sub
Private Sub lbConnections_DblClick()
Call cmdOK_Click ' Hit OK Automatically
End Sub